/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication6.PBO1.src.pbo1;

/**
 *
 * @author admin
 */
public class Marketing extends Pegawai{
    private final double GAJI_BONUS=200000;
    private double jumlahOrder;

    public double hitungBonus()
    {
        return getJumlahOrder()*GAJI_BONUS;
    }
    /**
     * @return the jumlahOrder
     */
    public double getJumlahOrder() {
        return jumlahOrder;
    }

    /**
     * @param jumlahOrder the jumlahOrder to set
     */
    public void setJumlahOrder(double jumlahOrder) {
        this.jumlahOrder = jumlahOrder;
    }
    
    @Override
    public double gajiTotal()
    {
        return tunjanganKeluarga()+gajiLembur()+getGaji_pokok()+this.hitungBonus();
    }
}
